package com.boot.security.server.page.table;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Map;

/**
 * 分页查询参数
 * 
 * @author Ming
 *
 */
public class PageTableRequest implements Serializable {

	private static final long serialVersionUID = 7328071045193618467L;



	private Map<String, Object> params;
	/**
	 * 分布页码，默认值为1
	 */

	@ApiModelProperty(value = "分布页码，默认值为1", example = "1", required = true)
	private Integer offset = 1;
	/**
	 * 每页的条数，默认值为10
	 */
	@ApiModelProperty(value = "每页的条数，默认值为10", example = "10", required = true)
	private int limit = 10;

	public Integer getOffset() {
		return offset;
	}

	public void setOffset(Integer offset) {
		this.offset = offset;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	public Map<String, Object> getParams() {
		return params;
	}

	public void setParams(Map<String, Object> params) {
		this.params = params;
	}
}
